﻿@{
    ViewBag.Title = "登录";
}
@section head{
    <link href="/css/login.css" rel="stylesheet" type="text/css" />
    <script src="/js/jquery.validate.js"></script>
    <script type="text/javascript">
        $(function () {
            $("#eform").validate({
                event: "blur",
                //errorElement: "em",
                errorPlacement: function (error, element) {
                    error.appendTo(element.parent("div"));
                    error.appendTo(element.parent("td"));
                },
                
                success: function (label) {
                    label.addClass("success");
                }
            });
            $("#dform").validate({
                event: "blur",
                //errorElement: "em",
                errorPlacement: function (error, element) {
                    error.appendTo(element.parent("div"));
                    error.appendTo(element.parent("td"));
                },
               
                success: function (label) {
                    label.addClass("success");
                }
            });
        });
    </script>
}
<div class="body">
    <div class="banner2" style="margin: 0 auto; padding: 10px 20px; border-radius: 6px 6px 0 0;">
        <span class="font1">需要看看你的证件...</span>
    </div>
    <div class="main">
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tbody>
                <tr>
                    <td height="125" valign="top" width="47%">

                        <br>
                        <div class="init ml1 mr1"><span class="font50">雇主请在这里登录</span></div>
                        <br>
                        <form action="Login" method="post" id="eform">
                        <table border="0" cellspacing="0" width="100%">
                            <tbody>
                                <tr>
                                    <td align="right" height="35" width="29%"><b>手机号码:</b>&nbsp;&nbsp;</td>
                                    <td colspan="2">
                                        <input id="Phone" name="Phone" class="textx required" maxlength="11" type="text"></td>
                                </tr>
                                <tr>
                                    <td align="right" height="35" width="29%"><b>登录密码:</b>&nbsp;&nbsp;</td>
                                    <td colspan="2">
                                        <input id="Password" name="Password" class="textx required" type="password"></td>
                                </tr>
                                <tr>
                                    <td align="right" height="35"></td>
                                    <td width="19%">
                                        <input type="submit" class="btn btn-primary" value="登录"/>

                                    </td>
                                    <td width="52%">
                                        <div id="client_msg" class="msg">@TempData["msg_e"]</div>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="3" style="padding-top: 7px; padding-left: 60px;" align="center" height="35">
                                        <b>还没有注册?</b>&nbsp;&nbsp;<a href="/begin.html" class="a10">提交一个设计项目, 成为我们的客户</a>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        </form>
                    </td>
                    <td align="center" width="4%">
                        <img src="/images/line1.gif"></td>
                    <td valign="top" width="49%">
                        <br>
                        <div class="init1 ml1 mr1"><span class="font50">工作者请在这里登录</span></div>
                        <br>
                         <form action="Login" method="post" id="dform">
                        <table border="0" cellspacing="0" width="100%">
                            <tbody>
                                <tr>
                                    <td align="right" height="35" width="29%"><b>昵称 或 Email:</b>&nbsp;&nbsp;</td>
                                    <td colspan="2">
                                        <input id="Email" name="Email" class="textx required" type="text"></td>
                                </tr>
                                <tr>
                                    <td align="right" height="35"><b>密码:</b>&nbsp;&nbsp;</td>
                                    <td colspan="2">
                                        <input id="Password" name="Password" class="textx required" type="password"></td>
                                </tr>
                                <tr>
                                    <td align="right" height="35"></td>
                                    <td width="19%">
                                        <input type="submit" class="btn btn-primary" value="登录"/>

                                    </td>
                                    <td width="52%">
                                        <div id="designer_msg" class="msg">@TempData["msg_d"]</div>
                                       
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="3" style="padding-top: 7px; padding-left: 43px;" align="center" height="35">
                                        <b>还没有注册?</b>&nbsp;&nbsp;<a href="/account/register" class="a10">现在就加入我们的工作者团队&gt;&gt;</a>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
</form>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
</div>
